package com.bdqn.zhang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@EnableJpaRepositories(basePackages = "com.bdqn.zhang.dao") // Spring Jpa 启用注解
@EntityScan(basePackages = "com.bdqn.zhang.pojo") //扫描Jpa实体对象
@SpringBootApplication
public class Day07_1 {

    public static void main(String[] args) {
        SpringApplication.run(Day07_1.class, args);
    }

}
